package com.timeriver.api;

import com.timeriver.domain.PredictRequest;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

/**
 * 模型服务预测的网关接口
 */
public interface PredictService {

    Double getPrediction(PredictRequest request) throws InterruptedException, ExecutionException, TimeoutException;
}
